package books4africa

//INTEGRATION TEST

import static org.junit.Assert.*
import org.junit.*

class FulfillmentListTests {

	void testPersistence(){
		//create a donor and save it in the database
		FulfillmentList FListy = new FulfillmentList(year: 2011, day: 2, month: 6, quantity: 5).save()
		
		FulfillmentList retrieved = FulfillmentList.findByQuantity(5);
		
		assertEquals(FListy, retrieved)
		
	}
	
}
